package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
public class Damage {
    private Long id;
    //收款人
    private String payee;
    //赔损金额
    private Long money;
    //银行卡号
    private String carnumber;
    //处理人
    private Employee employee;
    //事故表对象
    private Claim claim;
    //处理时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date disposeTime;
    //处理状态
    private Boolean state;


}